package com.kevin.feign.service.remote;

import java.util.Map;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.kevin.feign.service.hystric.ClothesServiceHystric;
import com.kevin.feign.util.ResultObject;

@FeignClient(value="tb-clothes",fallback =ClothesServiceHystric.class)
public interface IClothesService {

	@RequestMapping(value="/clothes/list",method=RequestMethod.POST)
	ResultObject listClothes(@RequestBody Map<String, Object> params);
}
